<% @main_header = "#{link_to('Ptrack:', '/')} #{@project.name if @project}: Contacts" %>


<div style="width:80%; float:left;">
<fieldset >
<legend>Contact Details</legend>
<table>
	<tr>
		<td style="width: 15%; font-weight: bold;">
			Name
		</td>
		<td style="width: 35%;">
			: <%=h @contact.name %>
		</td>
		<td style="width: 15%; font-weight: bold;">
			Company
		</td>
		<td style="width: 35%;">
			: <%= h @contact.company %>			
		</td>		
		
	</tr>
	<tr>
		<td style="width: 15%; font-weight: bold;">
			Surname
		</td>
		<td>
			: <%=h @contact.surname %>
		</td>
		
		<td style="width: 15%; font-weight: bold;">
			Profession
		</td>
		<td>
			: <%=h @contact.profession %>
		</td>
	</tr>
	<tr>
		<td style="width: 15%; font-weight: bold;">
			Phone Number
		</td>
		<td>
			: <%=h @contact.phone %>
		</td>
		<td style="width: 15%; font-weight: bold;">
			E-mail Address
		</td>
		<td>
			: <%=h @contact.email %>			
		</td>
	</tr>
	<tr>
		<td style="width: 15%; font-weight: bold;">
			Fax Number
		</td>
		<td>
			: <%=h @contact.fax %>
		</td>
	</tr>
	<tr>
		<td style="width: 15%; font-weight: bold;">
			Mobile Phone
		</td>
		<td>
			: <%=h @contact.mobile %>
		</td>
	</tr>
	<tr>
		<td style="width: 15%; font-weight: bold; vertical-align:top;">
			Address
		</td>
		<td colspan="3">
			: <%=h @contact.address %>
		</td>
	</tr>
	
</table>
</fieldset>


<p>
<%= link_to 'Previous page', :back %>
</p>
</div>
